package org.linlinjava.litemall.admin.web2.order.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.linlinjava.litemall.core.util.DateTimeUtil;
import org.linlinjava.litemall.core.util.Util;
import org.linlinjava.litemall.db.domain.LitemallAdmin;
import org.linlinjava.litemall.db.domain.TOrder;
import org.linlinjava.litemall.db.enumeration.Const;

import java.util.List;

/**
 * 配送员
 */
@ApiModel
public class OResp8 {


    public OResp8() {
    }

    public OResp8(LitemallAdmin admin) {
        id = admin.getId();
        name = admin.getRealName();
    }

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("配送员名称")
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
